package com.hhss.qishi.entity.system;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hhss.qishi.config.annotation.ChineseName;
import com.hhss.qishi.entity.common.PagePojo;

/**
 * 权限-角色中间表实体
 * @author Administrator
 *
 */
@Table(name = "sys_permission_role")
public class PermissionRole extends PagePojo implements Serializable{

	private static final long serialVersionUID = -6490514262140906276L;

	@Id
	@Column(name = "id", updatable = false)
	@ChineseName("主键")
	private Integer id;
	
	@Column(name = "permission_id")
	private Integer permissionId;
	
	@Column(name = "role_id")
	private Integer roleId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPermissionId() {
		return permissionId;
	}

	public void setPermissionId(Integer permissionId) {
		this.permissionId = permissionId;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	
}
